// 质检
const qualityTable = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityTable'], resolve);
const qualityRecord = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityRecord'], resolve);
const qualityReasonSet = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityReasonSet'], resolve);
const giveQualityList = resolve => require(['@/containers/supplierManagement/qualityInspec/giveQualityList'], resolve);
const giveQualityBarcodeDetail = resolve => require(['@/containers/supplierManagement/qualityInspec/giveQualityList/barcodeDetail'], resolve);
const qualityReceiveRegister = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityReceiveRegister'], resolve);
const qualityList = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityList'], resolve);
const qualityBarcodeDetail = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityList/barcodeDetail'], resolve);
const qualityReturnsList = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityReturnsList'], resolve);
const newReturnsOrder = resolve => require(['@/containers/supplierManagement/qualityInspec/qualityReturnsList/newReturnsOrder'], resolve);
const toLeadPropItems = resolve => require(['@/containers/supplierManagement/qualityInspec/toLeadPropItems'], resolve);

const offerInfo = resolve => require(['@/containers/supplierManagement/basicInfo/offerinfo'], resolve);
const offerConver = resolve => require(['@/containers/supplierManagement/basicInfo/offerconver'], resolve);
const laborCharges = resolve => require(['@/containers/supplierManagement/basicInfo/laborCharges'], resolve);

//采购管理——成品
const stonePurchaseList = resolve => require(['@/containers/supplierManagement/purchasing/finshproduct/index.vue'], resolve);
const stonePurchaseDetail = resolve => require(['@/containers/supplierManagement/purchasing/finshproduct/detail/index.vue'], resolve);
const stonePurchaseChange = resolve => require(['@/containers/supplierManagement/purchasing/finshproduct/edit/index.vue'], resolve);
//采购管理——包材
const materialsList = resolve => require(['@/containers/supplierManagement/purchasing/materials/index.vue'], resolve);
const materialsDetail = resolve => require(['@/containers/supplierManagement/purchasing/materials/detail/index.vue'], resolve);

//物料管理
const returnList = resolve => require(['@/containers/supplierManagement/materials/returnList'], resolve);
const returnListDetail = resolve => require(['@/containers/supplierManagement/materials/returnList/detail'], resolve);
const returnListNew = resolve => require(['@/containers/supplierManagement/materials/returnList/new'], resolve);
const returnListConfirm = resolve => require(['@/containers/supplierManagement/materials/returnList/confirm'], resolve);

/* 到货管理 */
const balance = resolve => require(['@/containers/supplierManagement/arrival/balance'], resolve);
const balanceDetail = resolve => require(['@/containers/supplierManagement/arrival/balance/detail'], resolve);
const arrivalGoods = resolve => require(['@/containers/supplierManagement/arrival/arrivalGoods'], resolve);
const arrivalGoodsDetail = resolve => require(['@/containers/supplierManagement/arrival/arrivalGoods/arrivalDetail'], resolve);
const beShipped = resolve => require(['@/containers/supplierManagement/arrival/beShipped'], resolve);
const beShippedDetail = resolve => require(['@/containers/supplierManagement/arrival/beShipped/barcodeDetail'], resolve);
export default [
    // 供应商基本信息
    {
        path: 'offerConver',
        name: 'offerConver',
        module: 'supplier',
        className: '供应商基本信息',
        label: '报价换算',
        component: offerConver
    },
	/* {//去掉页面3.23
		path: 'laborCharges',
		name: 'laborCharges',
		module: 'supplier',
		className: '供应商基本信息',
		label: '工费',
		component: laborCharges
	}, */
    {
        path: 'offerInfo',
        name: 'offerInfo',
        module: 'supplier',
        className: '供应商基本信息',
        label: '供应商报价列表',
        component: offerInfo
    },
    // 采购管理
    {
        path: 'stonePurchaseList',
        name: 'stonePurchaseList',
        module: 'supplier',
        className: '采购管理',
        label: '采购订单（委外/加工）',
        component: stonePurchaseList
    },
	{
	    path: 'stonePurchaseDetail',
	    name: 'stonePurchaseDetail',
	    module: 'supplier',
	    unlist: true,
	    className: '采购管理',
	    label: '采购订单（委外/加工）',
	    generatedBy: 'stonePurchaseList',
	    component: stonePurchaseDetail
	},
    {
        path: 'stonePurchaseChange',
        name: 'stonePurchaseChange',
        module: 'supplier',
        unlist: true,
        className: '采购管理',
        label: '采购订单（委外/加工）',
        generatedBy: 'stonePurchaseList',
        component: stonePurchaseChange
    },
	// 采购管理——包材   
	{
	    path: 'materialsList',
	    name: 'materialsList',
	    module: 'supplier',
	    className: '采购管理',
	    label: '采购订单',
	    component: materialsList
	},
	{
	    path: 'materialsDetail',
	    name: 'materialsDetail',
	    module: 'supplier',
	    unlist: true,
	    className: '采购管理',
	    label: '采购订单',
	    generatedBy: 'materialsList',
	    component: materialsDetail
	},
	// 质检管理
	//送检列表
	{
        path: 'giveQualityList',
        name: 'giveQualityList',
        module: 'supplier',
        className: '质检管理',
        label: '送检列表',
        component: giveQualityList
	},
	//送检列表-条码详情
	{
        path: 'giveQualityBarcodeDetail',
        name: 'giveQualityBarcodeDetail',
        module: 'supplier',
        className: '质检管理',
		label: '条码详情',
		unlist: true,
        component: giveQualityBarcodeDetail
	},
	//质检收货登记
	{
        path: 'qualityReceiveRegister',
        name: 'qualityReceiveRegister',
        module: 'supplier',
        className: '质检管理',
		label: '质检收货登记',
        component: qualityReceiveRegister
	},
    {
        path: 'qualityTable',
        name: 'qualityTable',
        module: 'supplier',
        className: '质检管理',
        label: '质检表',
        component: qualityTable
    },
    // {
    //     path: 'qualityRecord',
    //     name: 'qualityRecord',
    //     module: 'supplier',
    //     className: '质检管理',
    //     label: '质检记录',
    //     component: qualityRecord
    // },
    // {
    //     path: 'qualityReasonSet',
    //     name: 'qualityReasonSet',
    //     module: 'supplier',
    //     className: '质检管理',
    //     label: '质检原因设置',
    //     component: qualityReasonSet
	// },
	//质检列表
	{
        path: 'qualityList',
        name: 'qualityList',
        module: 'supplier',
        className: '质检管理',
		label: '质检列表',
        component: qualityList
	},
	//质检列表-条码详情
	{
        path: 'qualityBarcodeDetail',
        name: 'qualityBarcodeDetail',
        module: 'supplier',
        className: '质检管理',
		label: '条码详情',
		unlist: true,
        component: qualityBarcodeDetail
	},
	//质检退货列表
	{
        path: 'qualityReturnsList',
        name: 'qualityReturnsList',
        module: 'supplier',
        className: '质检管理',
		label: '质检退货列表',
        component: qualityReturnsList
	},
	//新建质检退货单
	{
        path: 'newReturnsOrder',
        name: 'newReturnsOrder',
        module: 'supplier',
		className: '质检管理',
		unlist: true,
		label: '新建退货订单',
        component: newReturnsOrder
	},
	// 打印条码
	{
		path: 'toLeadPropItems',
		name: 'toLeadPropItems',
		module: 'supplier',
		className: '质检管理',
		label: '打印条码',
		component: toLeadPropItems,
	  },
	//物料管理
	{
		path: 'returnList',
		name: 'returnList',
		module: 'supplier',
		className: '物料管理',
		label: '退料列表',
		component: returnList
	},
	{
		path: 'returnListDetail',
		name: 'returnListDetail',
		module: 'supplier',
		unlist: true,
		className: '物料管理',
		label: '退料列表',
		generatedBy: 'returnList',
		component: returnListDetail
	},
	{
		path: 'returnListNew',
		name: 'returnListNew',
		module: 'supplier',
		unlist: true,
		className: '物料管理',
		label: '退料列表',
		generatedBy: 'returnList',
		component: returnListNew
	},
	{
		path: 'returnListConfirm',
		name: 'returnListConfirm',
		module: 'supplier',
		unlist: true,
		className: '物料管理',
		label: '退料列表',
		generatedBy: 'returnList',
		component: returnListConfirm
	},
	//到货管理
	{
		path: 'balance',
		name: 'balance',
		module: 'supplier',
		className: '到货管理',
		label: '结算单列表',
		component: balance
	},
	{
		path: 'balanceDetail',
		name: 'balanceDetail',
		module: 'supplier',
		unlist: true,
		className: '到货管理',
		label: '结算单列表',
		generatedBy: 'balance',
		component: balanceDetail,
	},
	{
		path: 'arrivalGoods',
		name: 'arrivalGoods',
		module: 'supplier',
		className: '到货管理',
		label: '到货列表',
		component: arrivalGoods
	},
	{
		path: 'arrivalGoodsDetail',
		name: 'arrivalGoodsDetail',
		module: 'supplier',
		unlist: true,
		className: '到货管理',
		label: '到货列表',
		generatedBy: 'arrivalGoods',
		component: arrivalGoodsDetail,
	},
	{
		path: 'beShipped',
		name: 'beShipped',
		module: 'supplier',
		className: '到货管理',
		label: '待发货列表',
		component: beShipped
	},
	{
		path: 'beShippedDetail',
		name: 'beShippedDetail',
		module: 'supplier',
		unlist: true,
		className: '到货管理',
		label: '待发货列表',
		generatedBy: 'beShipped',
		component: beShippedDetail,
	},
	
]